package us.hootpic.client;

import us.hootpic.client.PhotoInfo;

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;

public class PhotoData extends JavaScriptObject { // (1)
	// Overlay types always have protected, zero argument constructors.
	protected PhotoData() {
	} // (2)

	// JSNI methods to get stock data.
	public final native int getTotal() /*-{ return this.total; }-*/;
	public final native int getStart() /*-{ return this.start; }-*/;
	public final native int getEnd() /*-{ return this.end; }-*/;
	
	public final native JsArray<PhotoInfo> getPhotos() /*-{ return this.photos; }-*/;

}